package com.anycl.design.creation.builder;

public class ConcreteBuilder implements Builder {
    private final Product product = new Product();

    public void buildGround() {
        System.out.println("build ground");
        product.setGround("build ground");
    }

    public void buildCement() {
        System.out.println("build cement");
        product.setCement("build cement");
    }

    public void buildRoot() {
        System.out.println("build root");
        product.setCement("build root");
    }

    public Product buildProduct() {
        System.out.println("build finish");
        return product;
    }
}
